<template>
  <div id="app">
    <keep-alive exclude="Detail,Login">
      <router-view/>
    </keep-alive>
    <use-tab-bar v-if="isShow"/>
    <icon/>
    <svg-icon/>
  </div>
</template>

<script>
import UseTabBar from "@/components/content/useTabBar/UseTabBar";
import Icon from "@/components/content/icon/Icon";
import SvgIcon from "@/components/content/icon/SvgIcon";
import {routerPath} from "@/common/constant";

export default {
  name: 'App',
  components: {
    UseTabBar,
    Icon,
    SvgIcon
  },
  computed: {
    isShow() {
      return !(this.$route.path.includes(routerPath.detail) || this.$route.path.includes(routerPath.login));
    }
  }
}
</script>

<style>
@import "./assets/css/base.css";

#app {
  position: relative;
}
</style>
